package com.esd.db.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.esd.db.dao.InspectionOvertimeRecordMapper;
import com.esd.db.model.InspectionOvertimeRecord;
import com.esd.db.service.InspectionOvertimeRecordService;



@Service("InspectionOvertimeRecordService")
public class InspectionOvertimeRecordServiceImpl implements InspectionOvertimeRecordService {

	@Autowired
	InspectionOvertimeRecordMapper iorMapper;

	@Override
	public int inspectionOvertimeRecorder(InspectionOvertimeRecord ior) {
		return iorMapper.insertInspectionOvertimeRecord(ior);
	}

	@Override
	public List<InspectionOvertimeRecord> queryInspectionOvertimeRecordListByCondition(Map<String,Object>conditions) {
		
		return iorMapper.queryInspectionOvertimeRecordListByCondition(conditions);
	}
}
